<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- 避免IE使用兼容模式 -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="renderer" content="webkit"> 
<title>无标题文档</title>
<link rel="stylesheet" href="<{$ipath}>wx/style/xiangqing.css">
<script type="text/javascript" src="<{$ipath}>wx/js/jquery.min.js"></script>
<script type="text/javascript" src="<{$ipath}>wx/js/jsxiangqing.js"></script>
<link rel="stylesheet" href="<{$ipath}>wx/js/jquery-ui-master/themes/base/jquery.ui.all.css">
<script src="<{$ipath}>wx/js/jquery-ui-master/jquery-1.10.2.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.core.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.widget.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.datepicker.js"></script>
<link rel="stylesheet" href="<{$ipath}>wx/js/jquery-ui-master/demos/demos.css">
</head>

<body>
<div class="all">
<div class="content">
  <div class="top">
    <h4>投票管理</h4>
    <a href="http://kf.qq.com/faq/120813euEJVf1501206Jj6fy.html">公众平台投票规则<i></i></a> </div>
  <div class="above">
    <div class="con">
      <div class="re"> <a href="?index.php&g=wx&m=wxvote&a=show_vote"><i></i><span>投票管理</span>/投票详情</a> </div>
    </div>
    <div class="msg-view">
      <ul>
        <li class="group"> <span class="title">投票名称</span>
          <div class="msg"><{$data_vote.name}><br/><span class="dec">只用于投票管理后台，不显示在下发的投票内容中</span></div>
           </li>
        <li class="group"> <span class="title">有效时间</span>
          <div class="msg vote-date"><{$data_vote.create_time|date_format:'%Y-%m-%d %H:%M:%S'}>
            <div id="divShow"> 
            <span id="endTime"><{$data_vote.stop_time|date_format:'%Y-%m-%d %H:%M:%S'}></span> <span class="dec">&nbsp;&nbsp;<{if time()>$data_vote.stop_time}>已过期<{else}>进行中<a href="javascript:;" class="js_modify dn" style="display: inline;" onClick="showdiv('#modifyTimeDiv')">修改截止时间</a> <{/if}></span> 


            </div>
            <input type="hidden" class="hide_stop" name="vote_id" value="<{$data_vote.id}>" />
            <div id="modifyTimeDiv">
              <div class="kuang">
              	<input type="hidden" name="stop_time" id="shijian" value=""/>
                <input type="text" name="stop_time" id="txtdate" placeholder="">
                <i></i></div>
              <div class="kuang shi" >
              <input type="hidden" id='shi' value="">
              <input type="hidden" id='fen' value="">
                <select class="dropdown_data_list" id="select1">
                  <option class="dropdown_data_item" value="00">00</option>
                  <option class="dropdown_data_item" value="01">01</option>
                  <option class="dropdown_data_item" value="02">02</option>
                  <option class="dropdown_data_item" value="03">03</option>
                  <option class="dropdown_data_item" value="04">04</option>
                  <option class="dropdown_data_item" value="05">05</option>
                  <option class="dropdown_data_item" value="06">06</option>
                  <option class="dropdown_data_item" value="07">07</option>
                  <option class="dropdown_data_item" value="08">08</option>
                  <option class="dropdown_data_item" value="09">09</option>
                  <option class="dropdown_data_item" value="10">10</option>
                  <option class="dropdown_data_item" value="11">11</option>
                  <option class="dropdown_data_item" value="12">12</option>
                  <option class="dropdown_data_item" value="13">13</option>
                  <option class="dropdown_data_item" value="14">14</option>
                  <option class="dropdown_data_item" value="15">15</option>
                  <option class="dropdown_data_item" value="16">16</option>
                  <option class="dropdown_data_item" value="17">17</option>
                  <option class="dropdown_data_item" value="18">18</option>
                  <option class="dropdown_data_item" value="19">19</option>
                  <option class="dropdown_data_item" value="20">20</option>
                  <option class="dropdown_data_item" value="21">21</option>
                  <option class="dropdown_data_item" value="22">22</option>
                  <option class="dropdown_data_item" value="23">23</option>
                </select>
              </div>
              <span class="fen">时</span>
              <div class="kuang shi">
                <select class="dropdown_data_list" id="select2">
                  <option class="dropdown_data_item" value="00">00</option>
                  <option class="dropdown_data_item" value="05">05</option>
                  <option class="dropdown_data_item" value="10">10</option>
                  <option class="dropdown_data_item" value="15">15</option>
                  <option class="dropdown_data_item" value="20">20</option>
                  <option class="dropdown_data_item" value="25">25</option>
                  <option class="dropdown_data_item" value="30">30</option>
                  <option class="dropdown_data_item" value="35">35</option>
                  <option class="dropdown_data_item" value="40">40</option>
                  <option class="dropdown_data_item" value="45">45</option>
                  <option class="dropdown_data_item" value="50">50</option>
                  <option class="dropdown_data_item" value="55">55</option>
                </select>
              </div>
              <span class="fen">分</span> 
              <button class="btn-bg sure-rili">确定</button> <button class="btn-bg cancel-rili">取消</button>
              </div>
          </div>
        </li>
        <li class="group"> <span class="title">投票权限</span>
          <div class="msg"><{if $data_vote.vote_pri eq "0"}>所有人<{else}>仅关注<{/if}></div>
        </li>
        <li class="group"> <span class="title">投票人数</span>
          <div class="msg"><{$data_vote.numbers}>人</div>
        </li>
      </ul>
    </div>
  </div>


  <div class="vote_list js_vote_list">
    <div class="vote_item">
    <{foreach from=$data_question item=value}>
      <div class="vote_item_hd">
        <h4 class="vote_title"><{$value.question_index}>.<{$value.title}></h4>
      </div>



      <div class="vote_item_bd">
        <ul class="vote_option_list">
         <{foreach from=$value.options item=value2}>
          <li class="vote_option">
            <div class="vote_option_msg group"><img src="<{$value2.img_url}>" /><span class="vote_option_title" title="<{$value2.option_name}>"><{$value2.option_name}></span> </div>
            <div class="vote_result_meta">
              <div class="vote_graph left"> <em style="width:<{$value2.baifenbi}>%
;background-color:#44B549" class="vote_progress"></em> </div>
              <span class="vote_result_tips vote_number right"><{$value2.numbers}>/<{$value.vote_numbers}>

票</span> <span class="vote_result_tips vote_percent right"><{$value2.baifenbi}>

%</span> </div>
          </li>
          <{/foreach}>
        </ul>
      </div>
      <{/foreach}>
    </div>
  </div>
</div>
</div>
</body>
</html>
